package indi.jp.project.business.device.dao;

import indi.jp.project.business.device.entity.DeviceDiscard;
import org.apache.ibatis.annotations.Mapper;

import java.sql.SQLException;
import java.util.List;

/**
 * 设备报废DAO
 *
 * @author jiangping
 * @date 2022/5/16
 */
@Mapper
public interface DeviceDiscardDAO {

    List<DeviceDiscard> queryList(DeviceDiscard query) throws SQLException;

    int queryCount(DeviceDiscard query) throws SQLException;

    int insert(DeviceDiscard entity) throws SQLException;

    int update(DeviceDiscard entity) throws SQLException;

    int deleteById(String id) throws SQLException;

    DeviceDiscard findById(String id) throws SQLException;

}
